import config from "@/config";
import http from "@/utils/request";
export default {
	basic: {
		url: `${config.API_URL}/workbench/machine`,
		name: "读取系统信息",
		get: async function (params) {
			return await http.get(this.url, params);
		},
	},
	memory: {
		url: `${config.API_URL}/workbench/memory`,
		name: "读取内存信息",
		get: async function (params) {
			return await http.get(this.url, params);
		},
	},
    cpu: {
		url: `${config.API_URL}/workbench/cpu`,
		name: "读取CPU信息",
		get: async function (params) {
			return await http.get(this.url, params);
		},
	},
    disk: {
		url: `${config.API_URL}/workbench/disk`,
		name: "读取硬盘信息",
		get: async function (params) {
			return await http.get(this.url, params);
		},
	},
};
